package edu.scut.course_management.po;

import java.sql.Time;

/**
 * 持久化对象，对应库表： Period
 * @author thompson
 */
public class Period {
    private Integer periodId;
    private String dayOfWeek;
    private Time begin;
    private Time end;

    public Integer getPeriodId() {
        return periodId;
    }

    public void setPeriodId(Integer periodId) {
        this.periodId = periodId;
    }

    public String getDayOfWeek() {
        return dayOfWeek;
    }

    public void setDayOfWeek(String dayOfWeek) {
        this.dayOfWeek = dayOfWeek;
    }

    public Time getBegin() {
        return begin;
    }

    public void setBegin(Time begin) {
        this.begin = begin;
    }

    public Time getEnd() {
        return end;
    }

    public void setEnd(Time end) {
        this.end = end;
    }

    @Override
    public String toString() {
        return "Period {" + 
               "begin=" + begin + 
               ", dayOfWeek=" + dayOfWeek + 
               ", end=" + end + 
               ", periodId=" + periodId + 
               "}";
    }

    
    


}